﻿<controls:ChildWindow xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="SMS.Views.Purchase.BarcodePrint"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"           
           Title="BarcodePrint">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ScrollViewer VerticalScrollBarVisibility="Auto" >
            <Grid >            
                <toolkit:WrapPanel x:Name="wpBarcodeLabel" Background="AliceBlue" Width="815" HorizontalAlignment="Center" VerticalAlignment="Top"/>            
            </Grid>
        </ScrollViewer>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75"  HorizontalAlignment="Right"  Grid.Row="1" />
        <Button Command="{Binding PrintCommand}" Content="Print" Width="75" Margin="0,0,80,0" HorizontalAlignment="Right" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>